body {
  padding: 50px;
  font: 14px "Lucida Grande", Helvetica, Arial, sans-serif;
}

a {
  color: #00B7FF;
  text-decoration: none;
  display: inline-block;
  width: 60px;
}

a:hover {
  text-decoration: underline;
  color: red;
}

/* 学生信息表的样式 */
table {
  border-spacing: 0;
  width: 60%;
  text-align: center;
}

td,
th {
  padding: 5px 10px;
  border-top: 1px solid grey;
  border-right: 1px solid grey;
}

td:first-child,
th:first-child {
  border-left: 1px solid grey;
}

tr:last-child td {
  border-bottom: 1px solid grey;
}

h1>span#filterClass {
  margin-left: calc(60% - 480px);
  font-size: 16px;
  padding: 0 20px;
}

h1>span#addStudent {
  margin-left: 20px;
  font-size: 16px;
  padding: 10px 20px;
  color: white;
  background-color: #00B7FF;
  border: 1px solid grey;
  border-radius: 4px;
  cursor: pointer;
}

h1>span#addStudent:hover {
  background-color: red;
}

/* 学生信息录入表单的样式 */
form#frmInput {
  width: 60%;
  border: 1px solid grey;
  border-radius: 8px;
  box-shadow: 3px 3px 6px black;
  margin: 50px auto;
  background-color: white;
}

#frmInput>p {
  padding: 0 20px;
}

#frmInput>p>.inputbox {
  display: inline-block;
  width: calc(90% - 70px);
  border: 1px dashed grey;
  border-left: none;
  border-radius: 0 3px 3px 0;
  padding: 4px 10px;
}


#frmInput>p.title {
  font-size: 24px;
  font-weight: bolder;
  text-align: center;
  margin: 0;
  padding: 15px;
  background-color: #02587a;
  color: white;
  /* border-top-left-radius: 8px;
  border-top-right-radius: 8px; */
  border-radius: 8px 8px 0 0;
  position: relative;
}

#frmInput>p.title>span.close {
  position: absolute;
  right: 0;
  top: 0;
  padding: 0 8px;
  margin: 5px;
  border-radius: 5px;
  border: 1px solid white;
  cursor: pointer;
}

#frmInput>p.title>span.close:hover {
  background-color: #00B7FF;
}

#frmInput>p>label {
  display: inline-block;
  width: 70px;
  background-color: #EEEEEE;
  border: 1px dashed grey;
  border-radius: 3px 0 0 3px;
  padding: 5px 10px;
  text-align: right;
}

#frmInput>p input {
  border: none;
  padding: 3px 5px;
}

#frmInput input[type=button] {
  padding: 10px 20px;
  background-color: #00B7FF;
  border: 1px solid grey;
  border-radius: 4px;
  cursor: pointer;
}

#frmInput input[type=button]:hover {
  background-color: aqua;
}

a.delete,
a.modify {
  margin: 0 10px;
  padding: 3px 5px;
  background-color: lightgreen;
  border: 1px solid grey;
  border-radius: 4px;
  cursor: pointer;
}

a.delete:hover,
a.modify:hover {
  background-color: aqua;
}

.mask {
  position: fixed;
  left: 0;
  right: 0;
  top: 0;
  bottom: 0;
  background-color: rgba(0, 0, 0, 0.5);
  z-index: 999;
  display: none;
}